//
//  DynamicFooterView.h
//  nonghubao
//
//  Created by 王 文彬 on 13-3-10.
//  Copyright (c) 2013年 Chongqing Nonghubao Co., Ltd. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface DynamicFooterView : UIView
{
    UIImageView* _commentedIcon;
    UILabel*     _commentedCountLabel;
    UIImageView* _soldIcon;
    UILabel*     _soldCountLabel;
    UIImageView* _recommendedIcon;
    UILabel*     _recommendedCountLabel;
}

// 样式限定枚举
typedef NS_ENUM(NSInteger, FooterViewStyle) {
    FooterViewStyleSigle,
    FooterViewStyleMultiBig,
    FooterViewStyleMultiSmall,
};

// 获得实例原型
- (id)initWithFrame:(CGRect)frame  forStyle:(FooterViewStyle)style;

// 通过不同的样式值，显示不同的样式
- (void)setNumbersWithCommented:(NSInteger)commented andSold:(NSInteger)sold andRecommended:(NSInteger)recommended;

// 改变footer的外观
- (void)setFrame:(CGRect)frame forStyle:(FooterViewStyle)style;

@end
